<?php include("components/autoload.php"); ?>
<?php $helper = new Helper(); ?>
<?php $router = new Router(); ?>
<?php $lang = new Language($router->lang); ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Fazi</title>
<base href="http://localhost/FAZI/NEW/" />

<!-- styles -->
<link href="css/style.css" rel="stylesheet" type="text/css" />

<!-- scripts -->
<script src="js/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="js/script.js" type="text/javascript"></script>
<script src="js/slider.js" type="text/javascript"></script>

</head>

<body class="<?php echo $router->page; ?>">

	<div class="main">
		<div class="menu-big">
			<div class="language">
            	<?php $helper->RenderLanguage($router->lang, $router->page, $router->id); ?>
			</div>
			<div id="logo"></div>
			<ul class="main-nav-bar">
        	<?php $helper->RenderMainMenu(); ?>
			</ul>
		</div>
		<div class="small-menu  <?php echo $router->lang; ?>">
        	<ul>
        	<?php $helper->RenderSmallMenu($router->page); ?>
            </ul>
		</div>
		<div class="subnav"></div>
		<div class="product-menu">
			<ul class="products">
        	<?php $helper->RenderProductsMenu($router->id); ?>
			</ul>
		</div>
		<div class="main-content">
        <?php $router->RenderPage(); ?>
		</div>
		<div class="footer">
			<div class="footer-links">
            	<a href=""><?php echo $lang->menu["sitemap"]; ?></a> - 
                <a href="en/about"><?php echo $lang->menu["home"]; ?></a> - 
                <a href="en/game/a4"><?php echo $lang->menu["gaming"]; ?></a> - 
                <a href="en/led/watch"><?php echo $lang->menu["led"]; ?></a> - 
                <a href="en/about"><?php echo $lang->menu["about"]; ?></a>
			</div>
			<div class="copyright"><?php echo $lang->general["copyright"]; ?></div>
		</div>
	</div>

</body>
</html>